import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    uni(),
  ],
	server: {
		proxy: {
			'/api': {
				target: 'http://192.168.0.102:4433', // 目标服务  
				changeOrigin: true,
				// rewrite: path => path.replace(/^\/api/, ''),
			}
		}
	}
})
